Code blocks
Want to add code to your pages on Cosense? You can. All major programming languages are supported.
To start a new code block type code:file.extension and press enter. Then simply type or paste your code.
For example:
code:hello.js
function () {
alert(document.location.href)
console.log("hello")
}
You can also use Code notation for little snippets or to indicate features, button text, etc. Read more on Code notation